package com.yuxl.ai.knowledgeTu.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

/**
 * @Author : yuxl
 * @create 2025/7/10 下午6:07
 */
@Schema(description = "图知识库")
@Table("ai_knowledge_tu")
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class AiKnowledgeTu {
    @Id
    private Long id;

    @Schema(description =  "标题")
    private String name;

    @Schema(description =  "知识库id")
    private Long knowledgeId;
}
